package smartcrud.spring.models.cms;

import java.io.Serializable;
import java.util.Date;
/**
 * 分类表
 * 
 */
public class Category implements Serializable{
	private Long id;//主键
	private String code;//分类代码
	private String name;//分类名称
	private Long pid;//所属父类ID
	public Category(){}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getId() {
		return this.id;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCode() {
		return this.code;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return this.name;
	}
	public void setPid(Long pid) {
		this.pid = pid;
	}
	public Long getPid() {
		return this.pid;
	}
}